#include "PolarEmitterFactory.h"
#include "PolarEmitter.h"

namespace Destiny
{
	CPolarEmitterFactory* CPolarEmitterFactory::mSelf = NULL ;
	CPolarEmitterFactory::CPolarEmitterFactory(void)
	{
	}


	CPolarEmitterFactory::~CPolarEmitterFactory(void)
	{
	}

	Ogre::String CPolarEmitterFactory::getName() const
	{
		return "PolarEmitter" ;
	}

	Ogre::ParticleEmitter* CPolarEmitterFactory::createEmitter(Ogre::ParticleSystem* psys)
	{
		Ogre::ParticleEmitter* pParticleEmitter = OGRE_NEW CPolarEmitter(psys) ;
		mEmitters.push_back( pParticleEmitter ) ;
		return pParticleEmitter ;
	}
}
